package com.spic.business.accident.interevents.classreport.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

/**
 * 自查隐患整改对象 check_hidden_trouble_rectification
 * 
 * @author 任翔
 * @date 2021-12-01
 */
public class CheckHiddenTroubleRectification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 自查报告id */
    @Excel(name = "自查报告id")
    private Long rectificationCheckId;

    /** 存在问题 */
    @Excel(name = "存在问题")
    private String existingProblem;

    /** 整改措施 */
    @Excel(name = "整改措施")
    private String correctiveActions;

    /** 问题照片 */
    @Excel(name = "问题照片")
    private String problemPicture;

    /** 整改后照片 */
    @Excel(name = "整改后照片")
    private String correctivePicture;

    /** 计划完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduledCompletionTime;

    /** 责任单位 */
    @Excel(name = "责任单位")
    private String dutyDept;

    /** 整改责任人 */
    @Excel(name = "整改责任人")
    private String rectificationPerson;

    /** 验收人 */
    @Excel(name = "验收人")
    private String acceptancePeople;

    /** 验收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "验收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date acceptanceTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRectificationCheckId(Long rectificationCheckId) 
    {
        this.rectificationCheckId = rectificationCheckId;
    }

    public Long getRectificationCheckId() 
    {
        return rectificationCheckId;
    }
    public void setExistingProblem(String existingProblem) 
    {
        this.existingProblem = existingProblem;
    }

    public String getExistingProblem() 
    {
        return existingProblem;
    }
    public void setCorrectiveActions(String correctiveActions) 
    {
        this.correctiveActions = correctiveActions;
    }

    public String getCorrectiveActions() 
    {
        return correctiveActions;
    }
    public void setProblemPicture(String problemPicture) 
    {
        this.problemPicture = problemPicture;
    }

    public String getProblemPicture() 
    {
        return problemPicture;
    }
    public void setCorrectivePicture(String correctivePicture) 
    {
        this.correctivePicture = correctivePicture;
    }

    public String getCorrectivePicture() 
    {
        return correctivePicture;
    }
    public void setScheduledCompletionTime(Date scheduledCompletionTime) 
    {
        this.scheduledCompletionTime = scheduledCompletionTime;
    }

    public Date getScheduledCompletionTime() 
    {
        return scheduledCompletionTime;
    }
    public void setDutyDept(String dutyDept) 
    {
        this.dutyDept = dutyDept;
    }

    public String getDutyDept() 
    {
        return dutyDept;
    }
    public void setRectificationPerson(String rectificationPerson) 
    {
        this.rectificationPerson = rectificationPerson;
    }

    public String getRectificationPerson() 
    {
        return rectificationPerson;
    }
    public void setAcceptancePeople(String acceptancePeople) 
    {
        this.acceptancePeople = acceptancePeople;
    }

    public String getAcceptancePeople() 
    {
        return acceptancePeople;
    }
    public void setAcceptanceTime(Date acceptanceTime) 
    {
        this.acceptanceTime = acceptanceTime;
    }

    public Date getAcceptanceTime() 
    {
        return acceptanceTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rectificationCheckId", getRectificationCheckId())
            .append("existingProblem", getExistingProblem())
            .append("correctiveActions", getCorrectiveActions())
            .append("problemPicture", getProblemPicture())
            .append("correctivePicture", getCorrectivePicture())
            .append("scheduledCompletionTime", getScheduledCompletionTime())
            .append("dutyDept", getDutyDept())
            .append("rectificationPerson", getRectificationPerson())
            .append("acceptancePeople", getAcceptancePeople())
            .append("acceptanceTime", getAcceptanceTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
